projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f4562
)
Update testgmenu to latest api changes
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 9 Dec 2011 16:34:39 +0000
(11:34 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:11 +0000
(12:51 -0500)
tests/testgmenu.c
patch
|
blob
|
history
diff --git
a/tests/testgmenu.c
b/tests/testgmenu.c
index 96dd50ca7215e9071f0b9d1b31c1561ebbc642f4..f2a6bce51c6cfff9638a41e60a31543703c48de8 100644
(file)
--- a/
tests/testgmenu.c
+++ b/
tests/testgmenu.c
@@
-991,9
+991,9
@@
main (int argc, char *argv[])
if (do_import)
{
g_print ("Getting menus from the bus...\n");
- model = (GMenuModel*)g_
menu_proxy
_get (bus, BUS_NAME, OBJ_PATH);
+ model = (GMenuModel*)g_
dbus_menu_model
_get (bus, BUS_NAME, OBJ_PATH);
g_print ("Getting actions from the bus...\n");
- group = (GActionGroup*)g_dbus_action_group_
new_sync (bus, BUS_NAME, OBJ_PATH, 0, NULL, NULL
);
+ group = (GActionGroup*)g_dbus_action_group_
get (bus, BUS_NAME, OBJ_PATH
);
}
else
{